from selenium.webdriver.common.by import By


class SelectorAvito:
    item = "div[data-marker='item']"
    title = (By.CSS_SELECTOR, "h3[itemprop='name']")
    price = (By.CSS_SELECTOR, "meta[itemprop='price']")
    currency = (By.CSS_SELECTOR, "meta[itemprop='priceCurrency']")
    descriptions = (By.CSS_SELECTOR, "div[class*='item-description']")
    url = (By.CSS_SELECTOR, "a[itemprop='url']")
    data_marker = (By.CSS_SELECTOR, "p[data-marker='item-date']")


selectors = SelectorAvito()
